<?php
if(isset($_GET['menu'])) {
	$menu=$_GET['menu'];
if ($menu == 'logout') {
	session_destroy();
	echo "<center><font color=000000 size=2 face=tahoma>Anda Telah Keluar Dari Admin <strong>[Logout]</strong></font>";
	echo "<meta http-equiv='refresh' content='1 URL=../'?menu=formlogin.php'>";
}
}
else
{
	$menu="home";
	include "home.php";
	}
if($menu=='view_produk'){
		include"view_produk.php";
	}
if($menu=='input_produk'){
		include"input_produk.php";
	}
if($menu=='edit_produk'){
		include"edit_produk.php";
	}
if($menu=='hapus_produk'){
		include"hapus_produk.php";
	}
if($menu=='view_toko'){
		include"view_toko.php";
	}
if($menu=='edit_toko'){
		include"edit_toko.php";
	}
if($menu=='ubahpassword'){
		include"ubahpassword.php";
	}
if($menu=='daftarpesanan'){
		include"daftarpesanan.php";
	}